/*
 * File:   ListHandler.h
 * Author: serena
 *
 * Created on 18 June 2013, 06:22
 */

#include <QtCore/qlist.h>
#include "Task.h"

#ifndef LISTHANDLER_H
#define	LISTHANDLER_H

class ListHandler {
public:
    ListHandler();
    ListHandler(const ListHandler& orig);
    virtual ~ListHandler();
    void addTaskList();
    void addTask();
    void save();
    void restore();

private:
    // XXX How can I handle this?
    typedef QList<Task> taskList;
    QList<taskList> mainList;
};

#endif	/* LISTHANDLER_H */

